package com.third.login.umeng.sina;

import android.app.Activity;

import com.dg.acb.utils.configdata.XXConstants;
import com.third.login.ThirdLoginPlatform;
import com.third.login.umeng.UmengThirdLoginBase;
import com.umeng.socialize.Config;
import com.umeng.socialize.PlatformConfig;
import com.umeng.socialize.bean.SHARE_MEDIA;

/**
 * Created by fzh on 2017/8/2.
 */
//com.third.login.umeng.sina.USinaThirdLogin
public class USinaThirdLogin extends UmengThirdLoginBase{

    public USinaThirdLogin(Activity activity, String appKey, String appId) {
        super(activity, appKey, appId);
    }

    protected  void init(){
        mSHARE_MEDIA = SHARE_MEDIA.SINA;
        mThirdLoginPlatform = ThirdLoginPlatform.SINA;
        Config.DEBUG = true;
        PlatformConfig.setSinaWeibo(XXConstants.appKeySinaWeibo, XXConstants.appSecretSinaWeibo, XXConstants.uriSecretSinaWeibo);
    }
}
